package com.usian.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.pojos.WmNewsMaterial;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * ClassName: WmNewsMaterialMapper
 * Author:   WGG
 * Date:    2022-11-2022/11/17-8:47
 * Version: 1.0
 * Description:
 */
@Repository
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {

    void saveWNM(@Param("ids") List<Integer> ids,@Param("newsId")  Integer newsId,@Param("type")  Integer type);
}
